package com.world.rickcloudendpoint.common.enums;

/**
 * @description: 命令 集合
 * @author: jlsong
 * @date: 2021/12/08 21:00:33
 * @version: 1.0
 */
public enum Cmd {

    Start("000", "连接成功"),
    Online("001", "在线"),
    Offline("002", "离线"),
    Heart_Beat("003", "心跳包"),
    Warn("004", "消息提醒"),
    Title_Register("005", "订阅成功"),
    Title_Un_Register("006", "取消订阅成功"),
    Title_VALID_PARAM("007", "订阅路由无效"),
    ;

    private String cmd;
    private String desc;

    Cmd(String cmd, String desc) {
        this.cmd = cmd;
        this.desc = desc;
    }

    public String getCmd() {
        return cmd;
    }

    public String getDesc() {
        return desc;
    }
}
